package com.hunt.service.impl;

import com.hunt.model.dto.PageInfo;
import com.hunt.model.entity.StockInfo;
import com.hunt.service.MainDataService;
import com.hunt.service.MainNetInflowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

import java.util.Locale;

@Service
public class MainNetInflowServiceImpl implements MainNetInflowService {
    @Autowired
    private StringRedisTemplate stringRedisTemplate;
    @Override
    public StockInfo getStockInfo(String stockcode) {
//        Object obj= stringRedisTemplate.opsForHash().get("Real_time_Stock_Data",stockchoose.get(i).toLowerCase(Locale.ROOT));
        return  new StockInfo();
    }

}
